home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD-ROM Today - The Disc! 5
/
CD-ROM Today - The Disc (Issue 5)(November 1994).ISO
/
mac
/
Mac shareware
/
Education
/
RLaB
/
help
/
norm
< prev
next >
Wrap
Text File
|
1994-09-21
|
774b
|
33 lines
norm:
Synopsis: Compute the norm of a matrix or vector.
Syntax: norm ( A )
norm ( A , "type" )
norm ( A, P )
Description:
The first form defaults to computing the 1-norm of the input
matrix. The second and third forms allow the user to specify
the desired vector or matrix norm.
type:
"M" or "m" returns max(abs( MATRIX ))
"1", "O" or "o" return the 1-norm (default)
"2" returns the matrix 2-norm (largest singular value)
"I" or "i" returns the infinity-norm
"F", "f", "E" or "e" returns the Frobenius norm.
LAPACK subroutines DLANGE and ZLANGE are used to compute all
norms, except the 2-norm.
If the third form of the function is used, then norm attempts
to compute the vector p-norm. If A is not a row or column
vector, then an error occurs.